import org.apache.xmlrpc.WebServer;
import ru.edu.niimm.mapping.linguistic.NLPmodule;

public class Bootstrap{
    
    public Bootstrap() {        
    }      

    public static void main(String[] args) {
        Bootstrap bootstrap = new Bootstrap();
        bootstrap.runServer(8081);
    }

    public void runServer(int port)
    {
        WebServer webServer = new WebServer(port);
        webServer.addHandler("NLPmodule", new NLPmodule());
        webServer.start();
    }

}